package com.qsbc.pygram.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsbc.pygram.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qsbc.pygram.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2022-12-17
 */
@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    Page<Student> findPage(Page<Student> page,
                           @Param("username") String username,
                           @RequestParam(defaultValue ="") String sno);


}
